import type { PropType } from "vue";

export const boxProductListProps = {
  productList: {
    type: Array as PropType<API.BOX.BoxShowProductItem[]>,
    default: () => [],
  },
  warpperClass: {
    type: String,
    default: "",
  },
  producetWith: {
    type: String,
    default: "57.5rem",
  },
  isMobile: {
    type: Boolean,
    default: false,
  },
};

export const boxProductListEmits = {
  onTapProduct: (product: API.BOX.BoxShowProductItem) => product,
};
